<!--
  Generated template for the MyMasterPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-buttons start>
          <button ion-button (click)="dismissCLI()">
                <img src="assets/img/back.png" width='15' height='20'>
              </button>
    </ion-buttons>
    <ion-title>我的美甲师</ion-title>
    <ion-buttons end>
      <button ion-button icon-only style="margin-right: 5px;" (click)="goToPlus()">
        <span style="color: #616161;font-size: 30px;">+</span>
      </button>
    </ion-buttons>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list>
    <ion-item-sliding *ngFor="let item of teacherinfo,let i=index">
      <ion-item>
        <div class="title">
          <img src="{{picrooturl}}{{item.artist_avator}}" alt="">
        </div>
        <div class="text">
          <span class="name">{{item.artist_nickname}}</span>
          <br>
          <span class="msg">这个人很懒，什么也没留下。</span>
        </div>
      </ion-item>

      <!-- <ion-item-options > -->
        <!-- <button class="compile" danger (click)="removeItem(item)">编辑</button> -->
        <!-- <button danger (click)="removeItem(item)">删除</button>
      </ion-item-options> -->
      <ion-item-options side="right">
          <button ion-button color="danger" style="width: 23%;" (click)="removeItem(item)">
            <!-- <ion-icon name="trash"></ion-icon> -->
            解除合作
          </button>
        </ion-item-options>
    </ion-item-sliding>
  </ion-list>
  


  <!-- <ion-list>
      <ion-item-sliding #item *ngFor="let item of teacherinfo,let i=index">
        <ion-item>
            <div class="title">
                <img src="{{picrooturl}}{{item.artist_avator}}" alt="">
              </div>
              <div class="text">
                <span class="name">{{item.artist_nickname}}</span>
                <br>
                <span class="msg">这个人很懒，什么也没留下。</span>
              </div>
        </ion-item>
        <ion-item-options side="left">
          <button ion-button (click)="favorite(item)">Favorite</button>
          <button ion-button color="danger" (click)="removeItem(item)">Share</button>
        </ion-item-options>
    
        <ion-item-options side="right">
          <button ion-button (click)="unread(item)">Unread</button>
        </ion-item-options>
      </ion-item-sliding> -->
    <!-- </ion-list> -->


  <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
    <ion-infinite-scroll-content></ion-infinite-scroll-content>
  </ion-infinite-scroll>


</ion-content>